<template>
  <div>
    <div class="vol-index-title">
      <img style="width: 35px;height: 35px" src="@/assets/tg.png" />赢客松销售管理系统
    </div>
    <van-swipe :autoplay="3000" indicator-color="#fff">
      <van-swipe-item>
        <img width="100%" src="@/assets/user.png" alt="" />
      </van-swipe-item>
      <!-- <van-swipe-item>
        <div class="user">
          <van-icon name="new-arrival-o" />
          <div>申请返料</div>
        </div>
      </van-swipe-item> -->
      <van-swipe-item>
        <img width="100%" height="187px" src="@/assets/baojia.png" alt="" />
      </van-swipe-item>
      <van-swipe-item>
        <img width="100%" height="187px" src="@/assets/yangpin.png" alt="" />
      </van-swipe-item>
    </van-swipe>
    <div class="Frame">
      <div class="box">
        <van-icon name="manager-o" />
        <div>我的客户</div>
        <div class="num">13</div>
      </div>
      <div class="box">
        <van-icon name="new-arrival-o" />
        <div>申请返料</div>
        <div class="num">16560</div>
      </div>
    </div>
    <div class="box">
      <van-icon name="manager-o" />
      <div>我的报价</div>
      <div class="num">13</div>
    </div>
  </div>
</template>

<script>
import VolHeader from "@/components/VolHeader.vue";
import { Icon, Swipe, SwipeItem } from "vant";

export default {
  components: {
    VolHeader,
    "van-icon": Icon,
    "van-swipe": Swipe,
    "van-swipe-item": SwipeItem
  }
};
</script>

<style scoped>
.Frame {
  display: flex;
}
.user {
  height: 150px;
  width: 100%;
  text-align: center;
  background-color: #1989fa;
}
.box {
  text-align: center;
  height: 70px;
  border-radius: 10px;
  border: 1px solid rgb(204, 153, 204);
  padding: 25px 0;
  margin: 30px;
  width: 30%;
}
</style>

<style lang="less" scoped>
.vol-index-title {
  background: white;
  border-bottom: 1px solid #eee;
  line-height: 50px;
  height: 50px;
  padding-left: 1rem;
  letter-spacing: 1px;
  img {
    position: relative;
    height: 17px;
    top: 5px;
    margin-right: 0.5rem;
  }
}
</style>
